package net.hn.hnms.biz.project.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("合同信息")
public class ContractInfoVo extends BaseVO{
    @ApiModelProperty(value = "id")
    private String contractId;

    @ApiModelProperty(value = "合同编号")
    private String contractCode;
    @ApiModelProperty(value = "合同标题")
    private String contractTitle;
    @ApiModelProperty(value = "项目ID")
    private String projectId;
    @ApiModelProperty(value = "合同金额")
    private BigDecimal totalAmount;
    @ApiModelProperty(value = "合同签署时间")
    @JsonFormat(
            pattern = "yyyy-MM-dd"
    )
    private Date contractDate;
    @ApiModelProperty(value = "法人信息ID")
    private String legalPersonId;
    @ApiModelProperty(value = "法人编号")
    private String legalPersonCode;
    @ApiModelProperty(value = "法人名称")
    private String legalPersonName;
    @ApiModelProperty(value = "供应商ID")
    private String supplierId;
    @ApiModelProperty(value = "供应商编号")
    private String supplierCode;
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;
    @ApiModelProperty(value = "合同类型 0收入合同 1支出合同")
    private String contractType;
    @ApiModelProperty(value = "合同用章")
    private String contractSeal;
    @ApiModelProperty(value = "合同状态 0进行中 1已结束")
    private String contractState;
    @ApiModelProperty(value = "合同文件名称")
    private String contractFileName;
    @ApiModelProperty(value = "合同文件路径")
    private String contractFilePath;

    @ApiModelProperty(value = "发票数量")
    private Integer invoiceCount;

    @ApiModelProperty(value = "款项数量")
    private Integer paymentCount;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "付款编号")
    private String paymentCode;

    @ApiModelProperty(value = "付款金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty(value = "付款标题")
    private String paymentTitle;

    @ApiModelProperty(value = "付款状态")
    private String paymentState;

    @ApiModelProperty(value = "ossid")
    private String ossId;





}
